<%@page import="java.util.Date"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
	<head>
		<base href="<%=basePath%>"/>
		<meta charset="utf-8" />
		<title>Document</title>
		<link rel="stylesheet" href="css/Mystuff.css?_<%=new Date().getTime()%>" />
		<script type="text/javascript" src="js/jquery.min.js"></script>
		<script type="text/javascript" src="js/Mystuff.js?_<%=new Date().getTime()%>"></script>
	</head>
	<body>
		<div id="hezi">
			<p class="my">我的资料</p>
			<div class="picture">
				 <img src="images/PeopleCenter/pic1.jpg"><img src="images/PeopleCenter/pic2.jpg"><img src="images/PeopleCenter/pic3.jpg"><img src="images/PeopleCenter/pic4.jpg">
				 <img src="images/PeopleCenter/pic5.jpg"><img src="images/PeopleCenter/pic6.jpg"><img src="images/PeopleCenter/pic7.jpg"><img src="images/PeopleCenter/pic8.jpg">
				 <img src="images/PeopleCenter/pic9.jpg"><img src="images/PeopleCenter/pic10.jpg"><img src="images/PeopleCenter/pic11.jpg"><img src="images/PeopleCenter/pic12.jpg">
			</div>
			
			<div class="save">
				<c:if test="${u.u_images == null}">
					<p><img src="images/PeopleCenter/pic1.jpg"></p>
				</c:if>
				<c:if test="${u.u_images != null}">
					<p><img src="images/PeopleCenter/${u.u_images}"></p>
				</c:if>
			</div>
			<div style="clear:both"></div>
			<form action="Mystuff.shtml" method="post" enctype="multipart/form-data">
					<div class="xiangxi">
						<div><p><input type="file" name="img" /></p></div>
						<div><span>*</span>昵&ensp;&ensp;&ensp;&ensp;称: <input type="text" name="nickname" value="${u.u_nickname }" /></div>
						<div><span>*</span>真实姓名: <input type="text" name="name" value="${u.u_name }"  autocomplete="off"/></div>
						<div id="sex"><span>*</span>性&ensp;&ensp;&ensp;&ensp;别: <input type="radio" id="nan" name="sex" checked="checked" value="男" /> <label for="nan">男</label>  <input type="radio" id="nv" name="sex" value="女"  /><label for="nv">女</label> </div>
						<script type="text/javascript">
							$(function(){
								$(":radio[name='sex'][value='${u.u_sex }']").attr("checked",true);
							})
						</script>
						<div><span>*</span>出生日期: <input type="date" name="birthday" value="${u.u_birthday }" /></div>
						<div>&ensp;邮&ensp;&ensp;&ensp;&ensp;箱: <input type="text" name="Email" autocomplete="off" value="${u.u_email }" /></div>
						<div id="area"><span>*</span>地&ensp;&ensp;&ensp;&ensp;区: </div>
						<div><span>*</span>详细地址: <input type="text" name="address" autocomplete="off" value="${u.u_address }" /></div>
						<div>&ensp;邮政编码:
					
						 	<input type="text" name="bianma" autocomplete="off" value="${u.u_youzheng }" />
						</div>
						<div><span>*</span>手&ensp;&ensp;&ensp;&ensp;机: <input type="text" name="phone" autocomplete="off" value="${u.u_phone }" /></div>
						<div><input type="submit" style="width:80px; margin-left: 200px; margin-top: 30px; margin-bottom: 30px;"  id="tijiao"  /></div>
						<div><input type="hidden" value="" id="ss" name="hiddensex" /></div>
						<div><input type="hidden" name="sheng" class="sheng" value="asdasdas"/></div>
						<div><input type="hidden" name="shi" class="shi" value="asdasdas"/></div>
						<div><input type="hidden" name="xian" class="xian" value="asdasdas"/></div>
						<div><input type="hidden" value="" id="img" name="img" /></div>
					</div>
			</form>
		</div>
	</body>
</html>
